package com.woniuxy.main.service.imp;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.woniuxy.main.mapper.ChatMapper;
import com.woniuxy.main.service.ChatService;

import lombok.Data;

@Data
@Service
@Transactional
public class ChatServiceImp implements ChatService{
	
	@Autowired
	private ChatMapper chatMapper;

	@Override
	public String findNickName(int uid) {
		return chatMapper.findNickName(uid);
	}


}
